<template>
  <div class="index">
    <div class="contain">
      <div class="left"></div>
      <div class="right">
      <router-view/>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'loginIndex'
}
</script>

<style scoped>
.index {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.index::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('@/assets/img/oynnBac.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(20px);
  z-index: -2;
}
.contain {
  width: 1000px;
  height: 573.31px;
  background-color: #ffffff;
  display: flex;
}

.left {
  width: 50%;
  height: 100%;
  background-image: url('@/assets/img/logo.png');
  background-repeat: no-repeat;
  background-size: cover;
}
.right {
  position: relative;
  height: 100%;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
</style>
